package com.shycloud.mido.organ.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.common.core.util.R;
import com.shycloud.mido.organ.api.dto.MasterDTO;
import com.shycloud.mido.organ.api.entity.MemberActivatedEntity;
import com.shycloud.mido.organ.api.entity.VipActivatedEntity;
import org.apache.ibatis.annotations.Param;


/**
 * <p>
 * MemberActivatedMapper  Mapper 接口
 * </p>
 * @author yyy
 * @date 2019-03-25
 */
public interface MemberActivatedMapper extends BaseMapper<MemberActivatedEntity> {

	/**
	 * 纠错大师列表
	 * @param page
	 * @param time
	 * @param status
	 * @param orgId
	 * @return
	 */
	IPage<MasterDTO> masterList(@Param("page") Page page, @Param("time") String time, @Param("status")  String status, @Param("orgId") String orgId);

	/**
	 * 新增
	 * @param entity
	 */
	void insertEntity(@Param("entity") MemberActivatedEntity entity);

	/**
	 * 运营商查询
	 * @param page
	 * @param optId
	 * @param phone
	 * @param udid
	 * @return
	 */
	IPage<MasterDTO> selByopt(Page page,@Param("optId")  String optId,@Param("phone")  String phone,@Param("udid")  String udid,@Param("orgId")  String orgId);


}
